const express = require('express')
const router = express.Router()
// //获取本地图片
router.get('/public/image/*', (req, res) => {
  res.sendFile(__dirname.split('router')[0] + "/" + req.url);
})
// 项目
router.get('/public/catalog/*', (req, res) => {
  res.sendFile(__dirname.split('router')[0] + "/" + req.url);
})
module.exports = router